import type { Metadata } from "next";
import { ConfigProvider } from "antd";

export const metadata: Metadata = {
  title: "拼音标注",
  description: "标注标注",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <div className={"pinyin-marker"}>
      <ConfigProvider
        theme={{ components: { Dropdown: { motion: false, algorithm: true } } }}
      >
        {children}
      </ConfigProvider>
    </div>
  );
}
